import Mock from 'mockjs'
import homeApi from './mockServeData/home'
Mock.mock('/api/home/getData',homeApi.getStatisticalData)

import userApi from './mockServeData/user'
Mock.mock(/\/api\/user\/getUser/,userApi.getUserList)
Mock.mock('/api/user/add','post',userApi.createUser)
Mock.mock('/api/user/del','post',userApi.deleteUser)
Mock.mock('/api/user/edit','post',userApi.updateUser)

import permissionApi from './mockServeData/permission'
Mock.mock(/\/api\/permission\/getMenu/,'post',permissionApi.getMenu)
